|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.ecm.extension.PluginService
nl.ivojonker.icn.configuration.services.ConfigurationService
public class ConfigurationService
The ConfigurationService handles the retrieval of configuration and status, and serves as a proxy in creating the required configuration table.
| Field Summary | |
|---|---|
private static java.util.logging.Logger |
logger
|
| Constructor Summary | |
|---|---|
ConfigurationService()
|
|
| Method Summary | |
|---|---|
void |
execute(com.ibm.ecm.extension.PluginServiceCallbacks callbacks,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Executes a specific instruction(provided as parameter). |
java.lang.String |
getId()
|
java.lang.String |
getOverriddenService()
not used / nothing overridden. |
private com.ibm.json.java.JSONObject |
getStatus()
Used for the plugin/configuration screen to show status and config. |
private boolean |
isAdminUser(javax.servlet.http.HttpServletRequest request)
Checks if the current user is admin user. |
| Methods inherited from class com.ibm.ecm.extension.PluginService |
|---|
isSecureService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static java.util.logging.Logger logger
| Constructor Detail |
|---|
public ConfigurationService()
| Method Detail |
|---|
public java.lang.String getId()
getId in class com.ibm.ecm.extension.PluginServicepublic java.lang.String getOverriddenService()
getOverriddenService in class com.ibm.ecm.extension.PluginService
public void execute(com.ibm.ecm.extension.PluginServiceCallbacks callbacks,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
execute in class com.ibm.ecm.extension.PluginServicejava.lang.Exceptionprivate com.ibm.json.java.JSONObject getStatus()
private boolean isAdminUser(javax.servlet.http.HttpServletRequest request)
request - containing a valid session
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||